export class BarCodeWidgetData {
  type: string
  initW: number
  initH: number
  x: number
  y: number
  width: number
  height: number
  active: boolean
  zIndex: number
  content: string
  codeWidth: number
  codeColor: string
  config: object

  constructor(config: object = {}) {
    this.type = 'barCode'
    this.initW = 84
    this.initH = 34
    this.x = 10
    this.y = 10
    this.width = 84
    this.height = 34
    this.active = true
    this.zIndex = 0
    this.content = '12312312'
    this.codeWidth = 1
    this.codeColor = '#000000'
    this.config = config
  }
}
